package com.fangzc.codegen.entity.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * 表定义层。
 *
 * @author FANGZC-TB14
 * @since 2023-05-27
 */
public class TSysLogininfor extends TableDef {

    public static final TSysLogininfor sys_logininfor = new TSysLogininfor("sys_logininfor");

    public QueryColumn info_id = new QueryColumn(this, "info_id");
    public QueryColumn user_name = new QueryColumn(this, "user_name");
    public QueryColumn ipaddr = new QueryColumn(this, "ipaddr");
    public QueryColumn login_location = new QueryColumn(this, "login_location");
    public QueryColumn browser = new QueryColumn(this, "browser");
    public QueryColumn os = new QueryColumn(this, "os");
    public QueryColumn status = new QueryColumn(this, "status");
    public QueryColumn msg = new QueryColumn(this, "msg");
    public QueryColumn login_time = new QueryColumn(this, "login_time");

    public QueryColumn[] default_columns = new QueryColumn[]{info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time};
    public QueryColumn[] all_columns = new QueryColumn[]{info_id, user_name, ipaddr, login_location, browser, os, status, msg, login_time};

    public TSysLogininfor(String tableName) {
        super(tableName);
    }
}
